home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14176 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.halcyon.com!usenet
  2. From: Glen Parker <glenebob@halcyon.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Can't link a .lib file...
  5. Date: Thu, 28 Mar 1996 12:25:15 -0800
  6. Organization: Computer Systems Contracting
  7. Message-ID: <315AF5AB.7294@halcyon.com>
  8. NNTP-Posting-Host: blv-pm3-ip2.halcyon.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (WinNT; I)
  13.  
  14. To all concerned...
  15.  
  16. I am trying to write a small 32 bit windows app to send mail from the command 
  17. line using Borland C++ 4.0.  No big deal, I don't think, but here is my 
  18. problem:
  19.  
  20. I get an error when I try to link MAPI32.lib, which I found in the new MS 
  21. SDK.  So I tried to use ImpLib.exe to create a different import library from 
  22. MAPI32.lib in my system32 dir.  It blows up.  And it blows up trying to run 
  23. on all the other 32-bit dlls I tried too.  AND, the compiler has the same 
  24. error linking ALL of the 32-bit import files I tried!  The linker error goes 
  25. like this:
  26.  
  27. Bad object file '..\..\mstools\lib\mapi32.lib' near file offset 0.
  28.  
  29. OK, what's the deal?  Can't Borland's compiler link in 32-bit libraries 
  30. generated by Microsoft?  Can't ImpLib.exe generate import files for 32-bit 
  31. DLL's?  Do I need a new version of ImpLib?  I can't find one.  Wouldn't you 
  32. think that ImpLib.exe would be a freeby from Borland (like anything is 
  33. free from Borland anymore, ha ha...)?  Hmmmmmmmmmmmmmmmm...  Maybe it's time 
  34. to switch to VC++?
  35.  
  36. Well, enough whining...  Any insight will be appreciated, and thanx in 
  37. advance...
  38.  
  39. Glen Parker
  40.  
  41.